
<div class="col-md-7" >

<div class="container" style="position:absolute;top:100px;width:1170px;left:90px;">		

		
		
				
				

	<p style="font-size:25px;"> <b>GROUP</b></p>
				<a href='<?php echo site_url(); ?>group/create' class='update'><button class="btn btn-primary addg " data-toggle="modal" data-target="#myModal">
ADD <i class=' glyphicon glyphicon-plus'></i>
</button></a>
				</p>
				
<table class="table table-hover table-bordered display" id="example" >
				<thead>
						<tr>
							<th >Group No</th>
							<th >Value of Chit</th>
							<th>No Of Month</th>
							<th>No of Members</th>
							<th >Instalment Amount</th>
							<th >Auction Date</th>
							<th >Auction Time</th>
							<th >Max Bid</th>
							<th>Min Bid</th>
							<th >Due Fine</th>
							<th >Auction Type</th>
							<th colspan='2'></th>
						<tr>
				</thead> 

				<?php foreach($posts as $post) : ?>

			<tbody>  
			 			
				<?php echo "<tr class='gradeA'><td>".$post->group_no.'</td> <td>'.$post->value.'</td> ';?> 
				<?php echo '<td>'.$post->no_of_month.'</td> ';?>  
				<?php echo '<td>'.$post->no_of_members.'</td> ';?>  
				<?php echo '<td>'.$post->installment_amt.'</td> ';?>  
				<?php echo '<td>'.$post->auction_date.'</td> ';?> 
				<?php echo '<td>'.$post->auction_time.'</td> ';?>   
				<?php echo '<td>'.$post->max_bid.'</td> ';?> 
				<?php echo '<td>'.$post->min_bid.'</td> ';?> 
				<?php echo '<td>'.$post->due_fine.'</td> ';?> 
				<?php echo '<td>'.$post->auction_type.'</td> ';?> 
				<?php echo '<td >';?> 
				<?php echo anchor('group/update/'.$post->group_id ,' ','class="btn btn-small btn-default btn-warning glyphicon glyphicon-edit update" data-toggle="modal" data-target="#myModal"','data-task="edit"');?>
				<?php echo '</td>';?> 
				<?php echo '<td >';?> 
				<?php echo anchor('group/delete/'.$post->group_id ,' ','class="btn btn-small btn-default btn-danger glyphicon glyphicon-remove"','data-task="edit"');?>
				<?php echo '</td></tr>';?> 				
			
			
		</tbody>  
<?php endforeach; ?>
</table>
</div>
</div>




